<include file="Common/index_header" />

<div class="main">
  
  <if condition="$count gt 0">
  <div class="search list_style">
    <ul>
      
      <div class="lmmc">全部服务</div>
      <!-- 首页图文展示循环案例开始 -->
      <foreach name="list" item="search" key="skey">
      
      <li>
        <a href="/Index/detail.html?sid={$search.service_id}" target="_blank">
          <div class="font">{$search.service_name}</div>
          <div class="cover"></div>
          <div class="img"><img src="{$search.service_logo}" /></div>
          <p>{$search.service_introduction}</p>
          <div class="<if condition='$search["auth_type"] eq 1'>grbt<else />qybt</if>" >{$search.service_publisher}</div>
        </a>
      </li>
      
      </foreach>
      <!-- 首页图文展示循环案例结束 -->

    </ul>
  </div>
  <div class="cls"></div>
  <div class="page fr" style="margin-top:22px; margin-bottom:0">{$pages}</div>
  <div class="cls"></div>
  <else />
  <!-- 搜索无结果go -->
  <div class="nosearch">
    <div class="nosearch_left"></div>
    <div class="nosearch_right">
      <a href="#">我要留言</a>
    </div>
  </div>
  <!-- 搜索无结果end -->
  </if>

</div>

<include file="Common/index_footer" />
<include file="Common/feedback" />
<script language="javascript" type="text/javascript"
	src="__PUBLIC__/js/common.js"></script> 

<script type="text/javascript">
	$(function ($) {
		//弹出登录
		$("#example").hover(function () {
			$(this).stop().animate({
				opacity: '1'
			}, 600);
		}, function () {
			$(this).stop().animate({
				opacity: '0.6'
			}, 1000);
		}).on('click', function () {
			$("#LoginBox").fadeIn("slow");
		});
		//
		//关闭
		$(".close_btn").hover(function () { $(this).css({ color: 'black' }) }, function () { $(this).css({ color: '#999' }) }).on('click', function () {
			$("#LoginBox").fadeOut("fast");
		});
	});
		$(function ($) {
		//弹出登录
		$(".nosearch_right a").on('click', function () {
			$("#LoginBox").fadeIn("slow");
		});
		//
		//关闭
		$(".close_btn").hover(function () { $(this).css({ color: 'black' }) }, function () { $(this).css({ color: '#999' }) }).on('click', function () {
			$("#LoginBox").fadeOut("fast");
		});
	});
</script>	
</body>
</html>
